//
//  YLLAuthorityManager.h
//  yilule
//
//  Created by lidi on 16/3/18.
//  Copyright © 2016年 topview. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 *  权限类型
 */
typedef NS_ENUM(NSInteger,YLLAuthorityType) {
    /**
     *  推送权限
     */
    YLLAuthorityType_PushNotification = 0,
    /**
     *  定位权限
     */
    YLLAuthorityType_Locate = 1,
    /**
     *  通讯录权限
     */
    YLLAuthorityType_Contacts = 2,
    /**
     *  摄像头权限
     */
    YLLAuthorityType_Camera = 3,
    /**
     *  相册权限
     */
    YLLAuthorityType_PhotoGallery = 4,
    /**
     *  麦克风权限
     */
    YLLAuthorityType_Microphone = 5
};

@interface YLLAuthorityManager : NSObject

+ (BOOL)authorityWithType:(YLLAuthorityType)type_;

+ (void)noticeAuthorityWithType:(YLLAuthorityType)type_;

@end
